﻿<%@ Page language="C#" MasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="ApplicationPages" Namespace="Microsoft.SharePoint.ApplicationPages.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ID="Content5" ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
	Create List Profile Field
</asp:Content>

<asp:Content ID="Content9" ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
    Use this page to create list profile fields.
</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:ListProperty ID="ListProperty3" Property="TitleBreadcrumb" runat="server"/>
	<SharePoint:UIVersionedContent ID="UIVersionedContent1" UIVersion="4" runat="server">
		<ContentTemplate>
			<span id="Span1" class="ms-ltviewselectormenuheader" runat="server">
				<SharePoint:ListTitleViewSelectorMenu AlignToParent="true" id="LTViewSelectorMenu" runat="server" />
			</span>
		</ContentTemplate>
	</SharePoint:UIVersionedContent>
    &#32;<SharePoint:ClusteredDirectionalSeparatorArrow ID="ClusteredDirectionalSeparatorArrow2" runat="server" />Create List Profile Field
</asp:Content>

<asp:Content ID="Content3" contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
    <SharePoint:CssRegistration name="layouts.css" runat="server"/> 
    <script Language="javascript">
// <![CDATA[
        function _spFormOnSubmit() {
            var ListNameElem = (document.getElementById("ctl00_PlaceHolderMain_ListProfileFieldCreator1_name"));
            var ListSourceElem = (document.getElementById("ctl00_PlaceHolderMain_ListProfileFieldCreator1_source"));
            var ListTargetElem = (document.getElementById("ctl00_PlaceHolderMain_ListProfileFieldCreator1_target"));
            if (ListNameElem.value.length == 0) {
                window.alert("Please enter a field name.");
                ListTitleElem.focus();
                return false;
            }
            if (ListSourceElem.selectedIndex == 0) {
                window.alert("Please choose a list field.");
                ListTitleElem.focus();
                return false;
            }
            if (ListTargetElem.selectedIndex == 0) {
                window.alert("Please choose a profile field.");
                ListTitleElem.focus();
                return false;
            }
            return true;
        }
// ]]>
</script>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderId="PlaceHolderPageImage" runat="server">
	<SharePoint:ViewIcon Width="145" Height="54" runat="server"/>
</asp:Content>

<asp:Content ID="Content7" ContentPlaceHolderId="PlaceHolderMain" runat="server">
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="ms-propertysheet">
  
		<tbody><tr id="ctl00_PlaceHolderMain_ctl00_tablerow1">
			<td height="1" colspan="2" class="ms-sectionline"><img width="1" height="1" alt="" src="/_layouts/images/blank.gif"></td>
		</tr>

		<tr id="ctl00_PlaceHolderMain_ctl00">
			<td valign="top" class="ms-descriptiontext">
				<table width="100%" cellspacing="0" cellpadding="1" border="0">
					<tbody><tr>
						<td valign="top" height="22" style="padding-top: 4px;" class="ms-sectionheader">
						  <h3 class="ms-standardheader ms-inputformheader">

		Create List Profile Field
	

						   </h3>
						</td>
					</tr>

					<tr>
						<td class="ms-descriptiontext ms-inputformdescription">
							
		Choose the source and target fields.
	
						</td>
						<td><img width="8" height="1" alt="" src="/_layouts/images/blank.gif"></td>
					</tr>

					<tr>
						<td><img width="150" height="19" alt="" src="/_layouts/images/blank.gif"></td>
					</tr>

				</tbody></table>
			</td>
			<td valign="top" align="left" class="ms-authoringcontrols ms-inputformcontrols">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
					<tbody><tr>

						<td width="9px"><img width="9" height="7" alt="" src="/_layouts/images/blank.gif"></td>

						<td><img width="150" height="7" alt="" src="/_layouts/images/blank.gif"></td>

						<td width="10px"><img width="10" height="1" alt="" src="/_layouts/images/blank.gif"></td>

					</tr>
					<tr>
						<td>
						</td><td class="ms-authoringcontrols">
							 <WebPartPages:SPUserCodeWebPart 
                                runat="server" 
                                Description="ListProfileFieldCreator" 
                                Title="ListProfileFieldCreator" 
                                AssemblyFullName="$SharePoint.Project.AssemblyFullName$" 
                                SolutionId="9d7646c5-a200-491e-a28d-abd373318e9d" 
                                ID="ListProfileFieldCreator1" 
                                TypeFullName="Com.CodePlex.SPC3.ListProfileFieldCreator.ListProfileFieldCreator.ListProfileFieldCreator" >
                            </WebPartPages:SPUserCodeWebPart>
						</td>
						<td width="10px"><img width="10" height="1" alt="" src="/_layouts/images/blank.gif"></td>
					</tr>

					<tr>
						<td>
						</td><td><img width="150" height="13" alt="" src="/_layouts/images/blank.gif"></td>
						<td>
					</td></tr>

				</tbody></table>
			</td>
		</tr>
		<tr>
			<td height="2px" colspan="2" class="ms-sectionline"><img width="1" height="1" alt="" src="/_layouts/images/blank.gif"></td>
		</tr>
		<tr>
			<td height="10px" colspan="2" class="ms-descriptiontext"><img width="1" height="10" alt="" src="/_layouts/images/blank.gif"></td>
		</tr>
		<tr>
			<td colspan="2">
				<table width="100%" cellspacing="0" cellpadding="0">
					<colgroup>
						<col width="99%">
						<col width="1%">
					</colgroup>
					<tbody><tr>
						<td>
							&nbsp;</td>
						<td nowrap="nowrap">
							<input type="button" class="ms-ButtonHeightWidth" accesskey="S" id="ctl00_PlaceHolderMain_ctl01_RptControls_BtnSave" onclick="document.getElementById('ctl00_PlaceHolderMain_ListProfileFieldCreator1_save').click();" value="Save" name="ctl00$PlaceHolderMain$ctl01$RptControls$BtnSave">
							<input type="button" onclick="document.getElementById('ctl00_PlaceHolderMain_ListProfileFieldCreator1_cancel').click();" accesskey="C" value="Cancel" class="ms-ButtonHeightWidth" id="ctl00_PlaceHolderMain_ctl01_BtnCancel" name="ctl00$PlaceHolderMain$ctl01$BtnCancel">
						</td>
					</tr>
				</tbody></table>
			</td>
		</tr>	
		<tr>
			<td height="40" colspan="2" class="ms-descriptiontext s4-notdlg"><img width="1" height="40" alt="" src="/_layouts/images/blank.gif"></td>
		</tr>
</tbody></table>
</asp:Content>

